import 'dart:async';

class EventStreamController {
  static StreamController? _streamNotice;
  static Stream get noticeStream {
    if (_streamNotice == null) {
      _streamNotice = StreamController.broadcast();
    }
    return _streamNotice!.stream;
  }

  static updateHomeData() {
    _streamNotice?.sink.add(1);
  }
}
